/** * Copyright (c) 2017-present, Facebook, Inc. All rights reserved. * * You are hereby granted a non-exclusive, worldwide, royalty-free license to use, * copy, modify, and distribute this software in source code or binary form for use * in connection with the web services and APIs provided by Facebook. * * As with any software that integrates with the Facebook platform, your use of * this software is subject to the Facebook Platform Policy * [http://developers.facebook.com/policy/]. This copyright notice shall be * included in all copies or substantial portions of the software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ fbq.version="2.8.12"; fbq._releaseSegment = "stable"; fbq.pendingConfigs=["global_config"]; (function(a,b,c,d){var e={exports:{}},f=e.exports;(function(){var g=a.fbq;g.execStart=a.performance&&a.performance.now&&a.performance.now();if(!function(){var h=a.postMessage||function(){};if(!g){h({action:"FB_LOG",logType:"Facebook Pixel Error",logMessage:"Pixel code is not installed correctly on this page"},"*");if("error"in console)console.error("Facebook Pixel Error: Pixel code is not installed correctly on this page");return false}return true}())return;"use strict";if(!g.__fbeventsModules){g.__fbeventsModules={};g.__fbeventsResolvedModules={};g.getFbeventsModules=function(h){if(!g.__fbeventsResolvedModules[h])g.__fbeventsResolvedModules[h]=g.__fbeventsModules[h]();return g.__fbeventsResolvedModules[h]};g.fbIsModuleLoaded=function(h){return!!g.__fbeventsModules[h]};g.ensureModuleRegistered=function(h,e){if(!g.fbIsModuleLoaded(h))g.__fbeventsModules[h]=e}}g.ensureModuleRegistered("SignalsFBEventsOptTrackingOptions",function(){return function(a,b,c,d){var e={exports:{}},f=e.exports;(function(){"use strict";e.exports={AUTO_CONFIG_OPT_OUT:1<<0,AUTO_CONFIG:1<<1,CONFIG_LOADING:1<<2,SUPPORTS_DEFINE_PROPERTY:1<<3,SUPPORTS_SEND_BEACON:1<<4,HAS_INVALIDATED_PII:1<<5,SHOULD_PROXY:1<<6}})();return e.exports}(a,b,c,d)});g.ensureModuleRegistered("SignalsFBEventsPlugin",function(){return function(a,b,c,d){var e={exports:{}},f=e.exports;(function(){"use strict";function h(i){this.plugin=i;this.__fbEventsPlugin=1;return this}e.exports=h})();return e.exports}(a,b,c,d)});g.ensureModuleRegistered("SignalsFBEventsProxyState",function(){return function(a,b,c,d){var e={exports:{}},f=e.exports;(function(){"use strict";var h=false;e.exports={getShouldProxy:function i(){return h},setShouldProxy:function i(j){h=j}}})();return e.exports}(a,b,c,d)});g.ensureModuleRegistered("SignalsFBEvents.plugins.opttracking",function(){return function(a,b,c,d){var e={exports:{}},f=e.exports;(function(){"use strict";var h=g.getFbeventsModules("SignalsFBEventsOptTrackingOptions"),i=g.getFbeventsModules("SignalsFBEventsPlugin"),j=g.getFbeventsModules("SignalsFBEventsProxyState"),k=false;function l(){try{Object.defineProperty({},"test",{})}catch(p){return false}return true}function m(){return!!(a.navigator&&a.navigator.sendBeacon)}function n(p,q){return p?q:0}var o=new i(function(g,p){if(k)return;var q={};g.on("pii_invalidated",function(r){if(r!=null)q[typeof r==="string"?r:r.id]=true});g.on("getCustomParameters",function(r){if(r==null)return{};var s=p.optIns,t=n(s.isOptedOut(r.id,"AutomaticSetup"),h.AUTO_CONFIG_OPT_OUT),u=n(s.isOptedIn(r.id,"AutomaticSetup"),h.AUTO_CONFIG),v=n(g.disableConfigLoading!==true,h.CONFIG_LOADING),w=n(l(),h.SUPPORTS_DEFINE_PROPERTY),x=n(m(),h.SUPPORTS_SEND_BEACON),y=n(r!=null&&q[r.id],h.HAS_INVALIDATED_PII),z=n(j.getShouldProxy(),h.SHOULD_PROXY),A=t|u|v|w|x|y|z;return{o:A}});k=true});o.OPTIONS=h;e.exports=o})();return e.exports}(a,b,c,d)});e.exports=g.getFbeventsModules("SignalsFBEvents.plugins.opttracking");if(g.registerPlugin)g.registerPlugin("fbevents.plugins.opttracking",e.exports);g.ensureModuleRegistered("fbevents.plugins.opttracking",function(){return e.exports})})()})(window,document,location,history); (function(a,b,c,d){var e={exports:{}},f=e.exports;(function(){var g=a.fbq;g.execStart=a.performance&&a.performance.now&&a.performance.now();if(!function(){var h=a.postMessage||function(){};if(!g){h({action:"FB_LOG",logType:"Facebook Pixel Error",logMessage:"Pixel code is not installed correctly on this page"},"*");if("error"in console)console.error("Facebook Pixel Error: Pixel code is not installed correctly on this page");return false}return true}())return;"use strict";var aa=typeof Symbol==="function"&&typeof (typeof Symbol==="function"?Symbol.iterator:"@@iterator")==="symbol"?function(h){return typeof h}:function(h){return h&&typeof Symbol==="function"&&h.constructor===Symbol&&h!==(typeof Symbol==="function"?Symbol.prototype:"@@prototype")?"symbol":typeof h},ba=function(){function h(i,j){var k=[],l=true,m=false,n=undefined;try{for(var o=i[typeof Symbol==="function"?Symbol.iterator:"@@iterator"](),p;!(l=(p=o.next()).done);l=true){k.push(p.value);if(j&&k.length===j)break}}catch(q){m=true;n=q}finally{try{if(!l&&o["return"])o["return"]()}finally{if(m)throw n}}return k}return function(i,j){if(Array.isArray(i))return i;else if((typeof Symbol==="function"?Symbol.iterator:"@@iterator")in Object(i))return h(i,j);else throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),ca=function(){function h(i,j){for(var k=0;k1&&arguments[1]!==undefined?arguments[1]:{};return new s(w,x).validateEvent()}function v(w,x){var y=new s(w,x).validateEvent();if(y.error)j(y.error);if(y.warnings)for(var z=0;z1?q-1:0),s=1;s1?r-1:0),t=1;t2&&arguments[2]!==undefined?arguments[2]:false;if(typeof G!=="string"||!A(G))throw new Error('Invalid Argument: "'+G+'" is not a valid opt-in feature');if(A(G)){this.optIns.optIn(F,G,I);q([G].concat(da(y[G]||[])),function(J){if(z[J])q(z[J],function(K){return H.fbq.loadPlugin(K)})})}return this},optOut:function E(F,G){this.optIns.optOut(F,G);return this},trackSingle:function E(F,G,H){h.validateEventAndLog(G,H);return this.trackSingleCustom(F,G,H)},trackSingleCustom:function E(F,G,H){var I=typeof F==="string"?F:F.id,J=this.getDefaultSendData(I,G);J.customData=H;this.fire(J,false);return this},enqueue:function E(){for(var F=arguments.length,G=Array(F),H=0;H1&&arguments[1]!==undefined?arguments[1]:false;this._validateSend(F,G);if(F.userData&&r(F.userData).length>0&&!this.fbq.loadPlugin("identity")){this.enqueue("fire",F);return this}var H=this.fbq.getEventCustomParameters(this.getPixel(F.pixelId));p.sendEvent(F.pixelId,F.eventName,F.customData,H);return this},callMethod:function E(F){var G=F[0],H=Array.prototype.slice.call(F,1);if(typeof this[G]==="function")try{this[G].apply(this,H)}catch(I){u(I)}else v({type:"INVALID_FBQ_METHOD",method:G})},getDefaultSendData:function E(F,G){var H=this.getPixel(F),I={pixelId:F,eventName:G};if(H){if(H.userData)I.userData=H.userData;if(H.agent)I.set={agent:H.agent};else if(this.fbq.agent)I.set={agent:this.fbq.agent}}return I},getOptedInPixels:function E(F){var G=this;return this.optIns.listPixelIds(F).map(function(H){return G.pixelsByID[H]})},ensurePixel:function E(F){if(!Object.prototype.hasOwnProperty.call(this.pixelsByID,F))throw new Error('Pixel "'+F+'" not found')},getPixel:function E(F){this.ensurePixel(F);return this.pixelsByID[F]},loadConfig:function E(F){if(this.fbq.disableConfigLoading||Object.prototype.hasOwnProperty.call(this.configsLoaded,F))return;this.locks.lockConfig(F);if(!this.fbq.pendingConfigs||t(this.fbq.pendingConfigs,function(G){return G===F})==false)B(F,this.VERSION,this.RELEASE_SEGMENT)},setExperiments:function E(F){this._defaultExperiments=new m(F)},getExperiments:function E(){return this._defaultExperiments},configLoaded:function E(F){this.configsLoaded[F]=true;this.locks.releaseConfig(F);this.fbq.trigger("configLoaded",F)}};function D(g,E){var F=this;this.VERSION=g.version;this.RELEASE_SEGMENT=g._releaseSegment;this.pixelsByID=E;this.fbq=g;this.optIns=new k(y);this.configsLoaded={};this._defaultExperiments=new m([]);this.locks=i.global;q(g.pendingConfigs||[],function(G){return F.locks.lockConfig(G)})}D.prototype=C;e.exports=D})();return e.exports}(a,b,c,d)});g.ensureModuleRegistered("SignalsFBEventsFireLock",function(){return function(a,b,c,d){var e={exports:{}},f=e.exports;(function(){"use strict";var h=g.getFbeventsModules("SignalsFBEventsUtils"),i=h.each,j=h.keys;function k(){this._locks={};this._callbacks=[]}k.prototype={lock:function l(m){this._locks[m]=true},release:function l(m){if(Object.prototype.hasOwnProperty.call(this._locks,m)){delete this._locks[m];if(j(this._locks).length===0)i(this._callbacks,function(n){return n(m)})}},onUnlocked:function l(m){this._callbacks.push(m)},isLocked:function l(){return j(this._locks).length>0}};k.global=new k();k.global.lockPlugin=function(l){this.lock("plugin:"+l)};k.global.releasePlugin=function(l){this.release("plugin:"+l)};k.global.lockConfig=function(l){this.lock("config:"+l)};k.global.releaseConfig=function(l){this.release("config:"+l)};e.exports=k})();return e.exports}(a,b,c,d)});g.ensureModuleRegistered("SignalsFBEventsLogging",function(){return function(a,b,c,d){var e={exports:{}},f=e.exports;(function(){"use strict";var h=g.getFbeventsModules("SignalsFBEventsUtils"),i=h.sendPOST,j=h.isInstanceOf,k=g.getFbeventsModules("SignalsParamList"),l=false;function m(){l=true}var n=true;function o(){n=false}var p="console",q="warn",r=a[p]?a[p][q].bind(a[p]):function(){},s=false;function t(){s=true}function u(D){if(s)return;r("[Facebook Pixel] - "+D)}var v="Facebook Pixel Error",w=a.postMessage?a.postMessage.bind(a):function(){},x={};function y(D){switch(D.type){case"FBQ_NO_METHOD_NAME":return"You must provide an argument to fbq().";case"INVALID_FBQ_METHOD":var E=D.method;return"\"fbq('"+E+"', ...);\" is not a valid fbq command.";case"INVALID_PIXEL_ID":var F=D.pixelID;return"Invalid PixelID: "+F+".";case"DUPLICATE_PIXEL_ID":var G=D.pixelID;return"Duplicate Pixel ID: "+G+".";case"SET_METADATA_ON_UNINITIALIZED_PIXEL_ID":var H=D.metadataValue,I=D.pixelID;return"Trying to set argument "+H+" for uninitialized Pixel ID "+I+".";case"CONFLICTING_VERSIONS":return"Multiple pixels with conflicting versions were detected on this page.";case"MULTIPLE_PIXELS":return"Multiple pixels were detected on this page.";case"UNSUPPORTED_METADATA_ARGUMENT":var J=D.metadata;return"Unsupported metadata argument: "+J+".";case"REQUIRED_PARAM_MISSING":var K=D.param,L=D.eventName;return"Required parameter '"+K+"' is missing for event '"+L+"'.";case"INVALID_PARAM":var M=D.param,N=D.eventName;return"Parameter '"+M+"' is invalid for event '"+N+"'.";case"NONSTANDARD_EVENT":var O=D.eventName;return"You are sending a non-standard event '"+O+"'. The preferred way to send these events is using trackCustom. See 'https://www.facebookmarketingdevelopers.com/pixels/up#sec-custom' for more information.";case"NEGATIVE_EVENT_PARAM":var P=D.param,Q=D.eventName;return"Parameter '"+P+"' is negative for event '"+Q+"'.";case"PII_INVALID_TYPE":var R=D.key_type,S=D.key_val;return"An invalid "+R+" was specified for '"+S+"'. This data will not be sent with any events for this Pixel.";default:B(new Error("INVALID_USER_ERROR - "+D.type+" - "+JSON.stringify(D)));return"Invalid User Error."}}function z(D,E){try{var F=Math.random(),G=a.fbq&&a.fbq._releaseSegment?a.fbq._releaseSegment:"unknown";if(n&&F<.01||G==="canary"){var H=new k(null);H.append("p","pixel");H.append("v",a.fbq&&a.fbq.version?a.fbq.version:"unknown");H.append("e",D.toString());if(j(D,Error)){H.append("f",D.fileName);H.append("s",D.stackTrace||D.stack)}H.append("ue",E?"1":"0");H.append("rs",G);i(H,"https://connect.facebook.net/log/error")}}catch(I){}}function A(D){var E=JSON.stringify(D);if(!Object.prototype.hasOwnProperty.call(x,E))x[E]=true;else return;var F=y(D);u(F);w({action:"FB_LOG",logType:v,logMessage:F},"*");z(new Error(F),true)}function B(D){z(D,false);if(l)u(D.toString())}var C={logError:B,logUserError:A,enableVerboseDebugLogging:m,disableAllLogging:t,disableSampling:o};e.exports=C})();return e.exports}(a,b,c,d)});g.ensureModuleRegistered("SignalsFBEventsOptIn",function(){return function(a,b,c,d){var e={exports:{}},f=e.exports;(function(){"use strict";var h=g.getFbeventsModules("SignalsFBEventsUtils"),i=h.each,j=h.filter,k=h.keys,l=h.some;function m(o){i(k(o),function(p){if(l(o[p],function(q){return Object.prototype.hasOwnProperty.call(o,q)}))throw new Error("Circular subOpts are not allowed. "+p+" depends on another subOpt")})}function n(o){this._opts={};this._subOpts=o||{};m(this._subOpts)}n.prototype._getOpts=function(o){return[].concat(da(Object.prototype.hasOwnProperty.call(this._subOpts,o)?this._subOpts[o]:[]),[o])};n.prototype._setOpt=function(o,p,q){if(!this._opts[p])this._opts[p]={};this._opts[p][o]=q};n.prototype.optIn=function(o,p){var q=this,r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:false;i(this._getOpts(p),function(s){var t=r==true&&q.isOptedOut(o,p);if(!t)q._setOpt(o,s,true)});return this};n.prototype.optOut=function(o,p){var q=this;i(this._getOpts(p),function(r){return q._setOpt(o,r,false)});return this};n.prototype.isOptedIn=function(o,p){return this._opts[p]&&this._opts[p][o]===true};n.prototype.isOptedOut=function(o,p){return this._opts[p]&&this._opts[p][o]===false};n.prototype.listPixelIds=function(o){var p=this;return this._opts[o]?j(k(this._opts[o]),function(q){return p._opts[o][q]}):[]};e.exports=n})();return e.exports}(a,b,c,d)});g.ensureModuleRegistered("SignalsFBEventsPluginPath",function(){return function(a,b,c,d){var e={exports:{}},f=e.exports;(function(){"use strict";var h=/([/]en_US)?[/](fbevents|signals)([.]js|[/])/;function i(){var l=null,m=null,n=b.getElementsByTagName("script");for(var o=0;o1){l=p[0];m=n[o]}}return{baseURL:l,scriptElement:m}}var j=null;function k(){if(!j)j=i();return j}e.exports={get:k}})();return e.exports}(a,b,c,d)});g.ensureModuleRegistered("SignalsFBEventsProxyState",function(){return function(a,b,c,d){var e={exports:{}},f=e.exports;(function(){"use strict";var h=false;e.exports={getShouldProxy:function i(){return h},setShouldProxy:function i(j){h=j}}})();return e.exports}(a,b,c,d)});g.ensureModuleRegistered("SignalsFBEventsQE",function(){return function(a,b,c,d){var e={exports:{}},f=e.exports;(function(){"use strict";var h=function h(){return Math.random()};function i(k){var i=h();for(var l=0;l1)throw new Error("passRate should be between 0 and 1 in "+m.name);if(i>=p&&i1&&arguments[1]!==undefined?arguments[1]:0;if(!o)return;try{var t=new k(null);t.append("v",a.fbq&&a.fbq.version?a.fbq.version:"unknown");t.append("rs",n);t.append("e",event);t.append("p",s);j(t,"https://connect.facebook.net/log/fbevents_telemetry/")}catch(u){h.logError(u)}}function q(){p("COALESCE_INIT")}function r(s){p("COALESCE_COMPLETE",s)}e.exports={logStartBatch:q,logEndBatch:r}})();return e.exports}(a,b,c,d)});g.ensureModuleRegistered("SignalsFBEventsUtils",function(){return function(a,b,c,d){var e={exports:{}},f=e.exports;(function(){"use strict";var h=g.getFbeventsModules("SignalsParamList"),i=g.getFbeventsModules("SignalsFBEventsProxyState"),j=Object.prototype.toString,k=!("addEventListener"in b);function l(F,G){return typeof G==="function"&&F instanceof G}function m(F){return Array.isArray?Array.isArray(F):j.call(F)==="[object Array]"}function n(F){return typeof F==="number"||typeof F==="string"&&/^\d+$/.test(F)}var o=Number.isInteger||function(F){return typeof F==="number"&&isFinite(F)&&Math.floor(F)===F};function p(F,G,H){G=k?"on"+G:G;var I=k?F.attachEvent:F.addEventListener,J=k?F.detachEvent:F.removeEventListener,K=function K(){if(J)J.call(F,G,K,false);H()};if(I)I.call(F,G,K,false)}var q=Object.prototype.hasOwnProperty,r=!{toString:null}.propertyIsEnumerable("toString"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],t=s.length;function u(F){if(Object.keys)return Object.keys(F);if((typeof F==="undefined"?"undefined":aa(F))!=="object"&&(typeof F!=="function"||F===null))throw new TypeError("Object.keys called on non-object");var G=[];for(var H in F)if(q.call(F,H))G.push(H);if(r)for(var I=0;I>>0;if(typeof G!=="function")throw new TypeError(G+" is not a function");H=new Array(K);I=0;while(I>>0,I=arguments.length>=2?arguments[1]:void 0;for(var J=0;J>>0;if(typeof F!=="function")throw new TypeError();var I=[],J=arguments.length>=2?arguments[1]:void 0;for(var K=0;K':"iframe",M=b.createElement(L);M.src="about:blank";M.id=I;M.name=I;J.appendChild(M);p(M,"load",function(){F.each(function(I,O){var P=b.createElement("input");P.name=I;P.value=O;J.appendChild(P)});p(M,"load",function(){if(J.parentNode)J.parentNode.removeChild(J)});J.submit()});if(H){var N=i.getShouldProxy();M.onerror=function(){i.setShouldProxy(true);if(!N)C(F,G,H)}}b.body.appendChild(J);return true}function D(F,G,H){if(a.navigator&&a.navigator.sendBeacon){var I=a.navigator.sendBeacon(A(G,H),F.toFormData());if(H&&!I){var J=i.getShouldProxy();i.setShouldProxy(true);if(!J)D(F,G,H)}return true}return false}var E={isArray:m,isEmptyObject:x,isNumber:n,isInteger:o,isInstanceOf:l,keys:u,listenOnce:p,map:v,sendGET:B,sendPOST:C,sendBeacon:D,FBSet:z,each:function F(G,H){v.call(this,G,H)},some:function F(G,H){return w.call(G,H)},filter:function F(G,H){return y.call(G,H)}};e.exports=E})();return e.exports}(a,b,c,d)});g.ensureModuleRegistered("SignalsParamList",function(){return function(a,b,c,d){var e={exports:{}},f=e.exports;(function(){"use strict";var h="deep",i="shallow";function j(m){if(typeof JSON==="undefined"||JSON===null||!JSON.stringify)return Object.prototype.toString.call(m);else return JSON.stringify(m)}function k(m){if(m===null||m===undefined)return true;var n=typeof m==="undefined"?"undefined":aa(m);return n==="number"||n==="boolean"||n==="string"}function l(m){this._params=[];this._piiTranslator=m}l.prototype.addRange=function(m){var n=this;m.each(function(o,p){return n.append(o,p)})};l.prototype.containsKey=function(m){for(var n=0;n1?W-1:0),Y=1;Y=0&&V<=Number.MAX_SAFE_INTEGER};function T(V,W,X){I=I===-1?Date.now():I;if(typeof V==="number"){if(!ia(V))D({type:"INVALID_PIXEL_ID",pixelID:V.toString()});V=V.toString()}else if(typeof V==="string"){var Y=/^[1-9][0-9]{0,25}$/;if(!Y.test(V))D({type:"INVALID_PIXEL_ID",pixelID:V})}else if(V===undefined)D({type:"INVALID_PIXEL_ID",pixelID:"undefined"});else if(V===null)D({type:"INVALID_PIXEL_ID",pixelID:"null"});else{if(typeof V.toString==="function")D({type:"INVALID_PIXEL_ID",pixelID:V.toString()});else D({type:"INVALID_PIXEL_ID",pixelID:"[no toString]"});return}if(K.call(P,V)){if(W&&z(P[V].userData)){P[V].userData=W;U("identity")}else D({type:"DUPLICATE_PIXEL_ID",pixelID:V});return}var Z={agent:X?X.agent:null,id:V,userData:W||{},eventCount:0};O.push(Z);P[V]=Z;if(W!=null)U("identity");ja();S.loadConfig(V)}function ja(){for(var V=0;V1)D({type:"MULTIPLE_PIXELS"});function ua(){if(g.disablePushState===true)return;if(!d.pushState||!d.replaceState)return;var V=r(function(){Q=L;L=c.href;if(L===Q)return;var W=new fa({allowDuplicatePageViews:true});ga.call(W,"trackCustom","PageView")});q(d,"pushState",V);q(d,"replaceState",V);a.addEventListener("popstate",V,false)}t("fired",function(){return ua()});function va(V){g._initHandlers.push(V);ja()}function wa(){return{pixelInitializationTime:I,pixels:O}}function xa(g){g.instance=S;g.callMethod=ga;g.loadPlugin=U;g.registerPlugin=ta;g._initHandlers=[];g._initsDone={};g.on=s;g.once=t;g.send=oa;g.trigger=u;g.getEventCustomParameters=pa;g.addInitHandler=va;g.getState=wa;g.init=T;g.set=ha}xa(a.fbq);ra();e.exports={addInitHandler:function va(V){g._initHandlers.push(V);ja()},doExport:xa,getState:wa,getEventCustomParameters:pa,sendEvent:qa,loadPlugin:U};u("execEnd");u("initialized",g)})();return e.exports}(a,b,c,d)});e.exports=g.getFbeventsModules("SignalsFBEvents");if(g.registerPlugin)g.registerPlugin("fbevents",e.exports);g.ensureModuleRegistered("fbevents",function(){return e.exports})})()})(window,document,location,history); fbq.registerPlugin("global_config", {__fbEventsPlugin: 1, plugin: function(fbq, instance) { fbq.loadPlugin("opttracking"); fbq.set("experiments", {"0":{"name":"beacon","range":[0,0.02],"code":"b","passRate":0.5},"1":{"name":"logDataLayer","range":[0.02,0.12],"code":"d","passRate":0.5}});instance.configLoaded("global_config"); }});